/**
 * 商家授权 api 封装
 */
import { postRequest, postUpload } from '/@/lib/axios'

// 分页查询
export function appAuthPage(param) {
  return postRequest('/b-operation/applications_merchant/page', param)
}

// 修改商家授权
export function appAuthUpdate(param) {
  return postRequest('/b-operation/applications_merchant/update', param)
}

// 新增商家授权
export function appAuthInsert(param) {
  return postRequest('/b-operation/applications_merchant/insert', param)
}

// 根据id查详情
export function appAuthFindId(param) {
  return postRequest('/b-operation/applications_merchant/find_id', param)
}

// 删除商家授权
export function appAuthDelete(param) {
  return postRequest('/b-operation/applications_merchant/delete', param)
}
